//
//  ContentView.swift
//  DWSwift
//
//  Created by GDL on 2025/6/17.
//

import SwiftUI
import DWCoreLib
struct ContentView: View {
    var body: some View {
        GeometryReader { proxy in
            VStack(spacing:0) {
                // 自定义导航栏（覆盖状态栏）
                CustomNavigationBar(
                    title: "首页1",
                    leftIcon: "arrow.left",
                    bgColor: .white
                ).statusBar(color: .white)
                
                Spacer()
            }
        .background(Color.yellow)
        }
    }
}

struct ContentView_Previews: PreviewProvider {
    static var previews: some View {
        ContentView()
    }
}
